import { createPinia } from 'pinia'
import { useUserStore } from './userStore'
import { useCartStore } from './cartStore'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const store = createPinia()
store.use(piniaPluginPersistedstate)

export { useUserStore, useCartStore }
export default store
